package managedbean;  
  
import java.util.Date; 
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
  
@ManagedBean(name = "calendarBean")
@SessionScoped
public class CalendarBean {  
  
    private Date date1;    
    private Date date2;  
    
      
      
    public Date getDate1() {  
        return date1;  
    }  
  
    public void setDate1(Date date1) {  
        this.date1 = date1;  
    }  
  
    public Date getDate2() {  
        return date2;  
    }  
  
    public void setDate2(Date date2) {  
        this.date2 = date2;  
    }  
      
}  